{extend name="index_layout"/}
{block name="main"}
<form class="layui-form" method="post">

    <div class="layui-form-item">
        <label class="layui-form-label">订单号</label>
        <div class="layui-input-block">
            <input id="c-out_trade_no" lay-verify="required" class=" layui-input" name="row[out_trade_no]" type="text">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">用户ID</label>
        <div class="layui-input-block">
            <input id="c-member_id" lay-verify="" data-source="admin/member/index" class="selectpage layui-input" name="row[member_id]" type="text" value="">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">分类名称</label>
        <div class="layui-input-block">
            <input id="c-special_cate_name" lay-verify="required" class=" layui-input" name="row[special_cate_name]" type="text">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">专项服务</label>
        <div class="layui-input-block">
            <input id="c-title" lay-verify="required" class=" layui-input" name="row[title]" type="text">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">金额</label>
        <div class="layui-input-block">
            <input id="c-amount" lay-verify="required" class=" layui-input" step="0.01" name="row[amount]" type="number">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">专项服务ID</label>
        <div class="layui-input-block">
            <input id="c-special_id" lay-verify="" data-source="admin/special/index" class="selectpage layui-input" name="row[special_id]" type="text" value="">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">专项服务分类ID</label>
        <div class="layui-input-block">
            <input id="c-special_cate_id" lay-verify="" data-source="admin/special.cate/index" class="selectpage layui-input" name="row[special_cate_id]" type="text" value="">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">0：未支付；1:支付成功；3:申请退款；4:退款成功；5:拒绝退款</label>
        <div class="layui-input-block">
            <input id="c-status" lay-verify="required" class=" layui-input" name="row[status]" type="number" value="0">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">拒绝退款原因</label>
        <div class="layui-input-block">
            <input id="c-reason" class=" layui-input" name="row[reason]" type="text">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">支付时间</label>
        <div class="layui-input-block">
            <input id="c-pay_time" class="datetime layui-input" name="row[pay_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="layui-form-item layer-footer">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit="">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
{/block}
{block name="script"}
<script type="text/javascript">
layui.use('yznForm', function() {
    var yznForm = layui.yznForm;
    yznForm.bindevent($("form.layui-form"));
});
</script>
{/block}